Unified Requester
class UnifiedRequester(client: <ERROR CLASS>, serialFormat: StandardKtorSerialFormat)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun <T> encodeUrlQueryValue(serializationStrategy: SerializationStrategy<T>, value: T): String
Content copied to clipboard
Link copied to clipboard
suspend fun <ResultType> uniget(url: String, resultDeserializer: DeserializationStrategy<ResultType>): ResultType
Content copied to clipboard
Link copied to clipboard
suspend fun <ResultType> unimultipart(url: String, mppFile: MPPFile, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
suspend fun <BodyType, ResultType> unimultipart(url: String, mppFile: MPPFile, otherData: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
suspend fun <ResultType> unimultipart(url: String, filename: String, inputProvider: <ERROR CLASS>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
suspend fun <BodyType, ResultType> unimultipart(url: String, filename: String, inputProvider: <ERROR CLASS>, otherData: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
Link copied to clipboard
suspend fun <BodyType, ResultType> unipost(url: String, bodyInfo: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>): <ERROR CLASS>
Content copied to clipboard